package model.dap.mapper;

import model.dap.domain.Consumer;

public interface ConsumerMapper {
	 
	  public Consumer login(Consumer mastUser);
	  public Consumer login2(Consumer mastUser);
	  public int insertConsumer(Consumer mastUser);
	  public int updatePassword(Consumer mastUser);
	  public Consumer validateConsumerExist(String userID);
	  public Consumer validateConsumerEmailExist(String email);
	  public Consumer validateConsumerStatus (String userID);
	  public Consumer getConsumerbyId(String userID);
	  public Consumer validateConsumerOrNot(String userID);
	  public Consumer getConsumerbyId2(String userID);
	  public Consumer validateOldPassword(Consumer mastUser);
	  public Consumer validateActiveConsumer (String userID);
	  public int updateConsumer(Consumer mastUser);
	  public Consumer retrievePassword(Consumer mastUser);
	  public int updateTemporaryPassword(Consumer mastUser);
	  public Consumer validateTemporaryPassword(String temporaryPassword);
	  public Consumer validateEmailMatchUserID(Consumer mastUser);
}
